//package com.fm.app03.Activity;
//
//import androidx.appcompat.app.AppCompatActivity;
//import androidx.recyclerview.widget.RecyclerView;
//
//import android.os.Bundle;
//import android.support.annotation.NonNull;
//import android.view.LayoutInflater;
//import android.view.View;
//import android.view.ViewGroup;
//import android.widget.TextView;
//
//import com.fm.app03.R;
//
//import java.util.List;
//
//public class lianxirenActivity extends AppCompatActivity {
//
//    private RecyclerView recyclerView;
//    private RecyclerViewAdapter adapter;
//    private List<String> dataList;
//
//
//    @Override
//    protected void onCreate(Bundle savedInstanceState) {
//        super.onCreate(savedInstanceState);
//        setContentView(R.layout.activity_lianxiren);
//    }
//}
//
//class RecyclerViewAdapter extends RecyclerView.Adapter<RecyclerViewAdapter.ViewHolder> {
//    private List<String> dataList;
//
//    public RecyclerViewAdapter(List<String> dataList) {
//        this.dataList = dataList;
//    }
//
//    @NonNull
//    @Override
//    public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
//        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_layout, parent, false);
//        return new ViewHolder(view);
//    }
//
//    @Override
//    public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
//        String item = dataList.get(position);
//        holder.textView.setText(item);
//    }
//
//    @Override
//    public int getItemCount() {
//        return dataList.size();
//    }
//
//    static class ViewHolder extends RecyclerView.ViewHolder {
//        TextView textView;
//
//        public ViewHolder(View itemView) {
//            super(itemView);
//            textView = itemView.findViewById(R.id.textView);
//        }
//    }
//}